package com.yunji.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
;
import com.yunji.common.base.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Description: 员工站点关联表$
 * @Author: HuaAo
 * @Date: 2024-04-03$
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_staff_site")
public class StaffSiteDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = -4669461120141441618L;

    @ApiModelProperty("主键ID")
    @Excel(name = "主键ID", width = 15)
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("员工主键ID")
    @Excel(name = "员工主键ID", width = 15)
    private Long staffId;

    @ApiModelProperty("员工姓名")
    @Excel(name = "员工姓名", width = 15)
    private String staffName;

    @ApiModelProperty("站点主键ID")
    @Excel(name = "站点主键ID", width = 15)
    private Long siteId;

    @ApiModelProperty("站点名称")
    @Excel(name = "站点名称", width = 15)
    private String siteName;

    @ApiModelProperty("员工手机号")
    @Excel(name = "员工手机号", width = 15)
    private String staffTel;

    @ApiModelProperty("网店地址")
    @Excel(name = "网点地址", width = 15)
    private String region;

    @ApiModelProperty("所属ID")
    @Excel(name = "所属ID", width = 15)
    private Long belongId;

    /**
     * ------------------------------------------------查询------------------------------------------------
     */
    @ApiModelProperty("网点ID数组")
    @TableField(exist = false)
    private Long[] siteIds;
}
